package com.autumn.mybatis.session;

import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;

/**
 * 会话工厂生成器
 * 
 * @author 杨昌国
 *
 *         2017-10-19 12:41:07
 */
public class AutumnSqlSessionFactoryBuilder extends SqlSessionFactoryBuilder {

	/**
	 * 生成
	 */
	@Override
	public SqlSessionFactory build(Configuration config) {
		return new AutumnSqlSessionFactory(config);
	}
}
